package org.example.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class User {

    private Integer id;
    private String account;
    private String password;
    private String name;
    private String className;
    private Integer p_st;//其他类型素拓分
    private Integer p_st_szpg;//思政培根素拓分
    private Integer p_st_xkqz;//学科启智素拓分
    private Integer p_st_tyqp;//体育强魄素拓分
    private Integer p_st_myrx;//美育润心素拓分
    private Integer p_st_ldqj;//劳动强基素拓分
    private Integer p_st_cxcy;//创新创业素拓分
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date punishDate;//学生被处罚的截止时间
    private Integer registerStatus;//账号的注册信息，0表示注册申请中，1表示申请通过。管理员拒绝申请时会直接删除这条记录。

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getP_st() {
        return p_st;
    }

    public void setP_st(Integer p_st) {
        this.p_st = p_st;
    }

    public Integer getP_st_szpg() {
        return p_st_szpg;
    }

    public void setP_st_szpg(Integer p_st_szpg) {
        this.p_st_szpg = p_st_szpg;
    }

    public Integer getP_st_xkqz() {
        return p_st_xkqz;
    }

    public void setP_st_xkqz(Integer p_st_xkqz) {
        this.p_st_xkqz = p_st_xkqz;
    }

    public Integer getP_st_tyqp() {
        return p_st_tyqp;
    }

    public void setP_st_tyqp(Integer p_st_tyqp) {
        this.p_st_tyqp = p_st_tyqp;
    }

    public Integer getP_st_myrx() {
        return p_st_myrx;
    }

    public void setP_st_myrx(Integer p_st_myrx) {
        this.p_st_myrx = p_st_myrx;
    }

    public Integer getP_st_ldqj() {
        return p_st_ldqj;
    }

    public void setP_st_ldqj(Integer p_st_ldqj) {
        this.p_st_ldqj = p_st_ldqj;
    }

    public Integer getP_st_cxcy() {
        return p_st_cxcy;
    }

    public void setP_st_cxcy(Integer p_st_cxcy) {
        this.p_st_cxcy = p_st_cxcy;
    }

    public Date getPunishDate() {
        return punishDate;
    }

    public void setPunishDate(Date punishDate) {
        this.punishDate = punishDate;
    }

    public Integer getRegisterStatus() {
        return registerStatus;
    }

    public void setRegisterStatus(Integer registerStatus) {
        this.registerStatus = registerStatus;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", className='" + className + '\'' +
                ", p_st=" + p_st +
                ", p_st_szpg=" + p_st_szpg +
                ", p_st_xkqz=" + p_st_xkqz +
                ", p_st_tyqp=" + p_st_tyqp +
                ", p_st_myrx=" + p_st_myrx +
                ", p_st_ldqj=" + p_st_ldqj +
                ", p_st_cxcy=" + p_st_cxcy +
                ", punishDate=" + punishDate +
                ", registerStatus=" + registerStatus +
                '}';
    }

}
